<!DOCTYPE html>
<html lang="{$config.language}">

<head>
    <!-- 加载样式及META信息 -->
    {include file="common/meta" /}
</head>
<body class="hold-transition skin-green sidebar-mini fixed {if $config.fastadmin.multiplenav}multiplenav{/if}"
      id="tabs">
<div class="wrapper">

    <!-- 头部区域 -->
    <header id="header" class="main-header">

        <?php

        if (session('admin')['id'] == 1 && think\facade\Config::get('app.app_debug')==false) {?>
            <p class="alert alert-danger-light text-center" style="color: #f00">
                生产环境中登录开发者账号,请谨慎操作,以免影响站点正常运行!
            </p>
        <?php } ?>
        {include file='common/header' /}
    </header>

    <!-- 左侧菜单栏 -->
    <aside class="main-sidebar">
        {include file='common/menu' /}
    </aside>

    <!-- 主体内容区域 -->
    <div class="content-wrapper tab-content tab-addtabs">
        {if $fixedmenu}
        <div role="tabpanel" class="tab-pane {:$referermenu?'':'active'}" id="con_{$fixedmenu.id}">
            <iframe src="{$fixedmenu.url}?addtabs=1" width="100%" height="100%" frameborder="no" border="0"
                    marginwidth="0" marginheight="0" scrolling-x="no" scrolling-y="auto"
                    allowtransparency="yes"></iframe>
        </div>
        {/if}
        {if $referermenu}
        <div role="tabpanel" class="tab-pane active" id="con_{$referermenu.id}">
            <iframe src="{$referermenu.url}?addtabs=1" width="100%" height="100%" frameborder="no" border="0"
                    marginwidth="0" marginheight="0" scrolling-x="no" scrolling-y="auto"
                    allowtransparency="yes"></iframe>
        </div>
        {/if}
    </div>



    <!-- 右侧控制栏 -->
    <div class="control-sidebar-bg"></div>
    {include file="common/control" /}
</div>

<!-- 加载JS脚本 -->
{include file="common/script" /}
</body>
</html>